import { Http } from "../utils/http";

class Factory {
  static async GetDataList(data) {
    return await Http.request({
      url: `Furniture_Manage/J_factory/GetDataList`,
      method: "post",
      data
    });
  }
  static async GetDataListClassify(data) {
    return await Http.request({
      url: `Furniture_Manage/J_Product_classify/GetDataList`,
      method: "post",
      data
    });
  }
  static async GetTheData(data) {
    return await Http.request({
      url: `Furniture_Manage/J_factory/GetTheData`,
      method: "post",
      data
    });
  }
  static async SaveData(data) {
    return await Http.request({
      url: `Furniture_Manage/J_factory/SaveData`,
      method: "post",
      data
    });
  }
}

export { Factory };
